//===================================
//File: Collect.h
//Сollection declaration
//Name: Smirnova O.P.
//Date: 02.04.12, v.1.0
//===================================
#ifndef COLLECT_H
#define COLLECT_H
#include <iostream>
#include "MList.h"
#include "MListEl.h"
#include "Image.h"
//---------------------------------------------------------------------------

class Collection{ 
protected:
	MultiList<Image> *images;

public:
	Collection();
	virtual void addToList(Image* img);
	Collection(MultiList<Image> *images);
	virtual ~Collection();
	MultiList<Image> * getCollection();
	void moveTo (Point p);
	void moveTodXdY (double x, double y);
	void writeList();
	void consS (Point p);
};
#endif
